﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using control.Biz;

namespace TrangSucShop.administrator
{
    public partial class admin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["QuanLy"] == null)
            {
                Response.Redirect("login.aspx");

            }
            else
            {
                BizKhachHang kh =(BizKhachHang)Session["QuanLy"];
            }
        }

        protected void btlogout_Click(object sender, EventArgs e)
        {
            Session["QuanLy"] = null;
             Response.Redirect("login.aspx");
        }
    }
}
